package com.qdlc.p2p.dal.model;

import org.springframework.beans.BeanUtils;

import com.qdlc.p2p.dal.dto.UserVipGrowthLog;
/**
 * VIP成长值 记录Model
 * @author yy
 * @version 1.0
 *
 */
public class UserVipGrowthLogModel extends UserVipGrowthLog {
	//成长值类型 - 投标来源
	public static final String TENDER_TYPE = "tender";
	
	//成长值操作类型  增加
	public static final String OP_ADD = "add";
	
	//成长值操作类型 减少
	public static final String OP_DOWN = "down";
	
	private String userName;

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}
	
	
	public static UserVipGrowthLogModel instance(UserVipGrowthLog userVipGrowthLog) {
		UserVipGrowthLogModel model = new UserVipGrowthLogModel();
		BeanUtils.copyProperties(userVipGrowthLog, model);
		return model;
	}
	
		
}
